home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / mpt_slt.zip / MPT-REC.SLT next >
Text File  |  1991-07-05  |  796b  |  38 lines

  1. //
  2. //  Module:       mpt_ad.slt
  3. //  Version:      1.0
  4. //  Description:  MPT-REC          MPt protocol download script for Telix
  5. //                Includes appropriate port, speed, and download directory
  6. //                in the MPt command-line.
  7. //  Author:       Paul Roub
  8. //                Files Courtesy of Modern Technolgy BBS Cumberland  RI
  9. //                            401 333 3451
  10.  
  11. //<f>
  12. main()
  13. {
  14.   str     CmdLine[128];
  15.   str     BaudStr[7];
  16.   str     PortStr[2];
  17.  
  18.   itos(get_baud(), BaudStr);
  19.   itos(get_port(), PortStr);
  20.  
  21.   CmdLine = "P";
  22.   strcat(CmdLine, PortStr);
  23.  
  24.   strcat(CmdLine, " S");
  25.   strcat(CmdLine, BaudStr);
  26.  
  27.   strcat(CmdLine, " A+");
  28.  
  29.   strcat(CmdLine, " R ");
  30.   strcat(CmdLine, _down_dir);
  31.  
  32.   run("mpt", CmdLine, 0);
  33.  
  34.   return;
  35. }
  36.  
  37. 
  38.